<template>
  <div class="data-display">
    <div class="webheart">
      <div class="data-title">
        <h2>{{ showModuleName('sjkb') || '数据看板' }} </h2>
      </div>
      <SchoolChange />
      <div class="echart-wrap">
        <div class="bg"></div>
        <ResourceMapBar />
      </div>
      <div class="echart-wrap">
        <el-row :gutter="100">
          <el-col :span="12">
            <Integrate />
          </el-col>
          <el-col :span="12">
            <ResourceMap />
          </el-col>
        </el-row>
      </div>
      <div class="echart-wrap">
        <!-- <div class="bg"></div> -->
        <EducationCharts />
      </div>
    </div>
  </div>
</template>
<script>
import homeConfig from '@/mixins/homeConfig'
export default {
  mixins: [homeConfig],
  components: {
    SchoolChange: () => import('./components/SchoolChange.vue'),
    ResourceMapBar: () => import('./components/ResourceMapBar.vue'),
    Integrate: () => import('./components/Integrate.vue'),
    ResourceMap: () => import('./components/ResourceMap.vue'),
    EducationCharts: () => import('./educationCharts/layout.vue'),
  },
  data() {
    return {}
  },
  mounted() {},
  methods: {},
}
</script>
<style scoped lang="scss">
.data-display {
  min-height: 680px;
  color: #fff;
  background: #060e35;
  .data-title {
    font-size: 20px;
    height: 44px;
    line-height: 44px;
    padding-top: 8px;
    border-bottom: 1px solid #fff;
    h2 {
      color: #fff;
      font-size: 20px;
    }
  }

  .echart-wrap {
    position: relative;
    padding: 20px 40px;
    .bg {
      position: absolute;
      left: 90px;
      bottom: 50px;
      width: 91%;
      height: 200px;
      background: linear-gradient(rgba(32, 72, 102, 0), #204866);
    }
  }
}
</style>